package com.whut.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 快递类
 */
@Data
public class Express {
    private Long id;
    private String number;
    private String name;
    private String phone;
    private String companyName;
    private String code;
    private Integer status;//订单状态 1待付款，2待派送，3已派送，4已完成，5已取消

    private LocalDateTime outTime;
    //公共字段
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;

}
